package com.yu.crm.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 计划下发表
 * </p>
 *
 * @author pan
 * @since 2020-08-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CrmPlan对象", description="计划下发表")
public class CrmPlan implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "计划名称")
    @TableField("plan_name")
    private String planName;

    @ApiModelProperty(value = "计划开始时间")
    @TableField("plan_start_time")
    private Date startTime;

    @ApiModelProperty(value = "计划结束时间")
    @TableField("plan_end_time")
    private Date endTime;

    @ApiModelProperty(value = "计划类型")
    @TableField("plan_type")
    private Integer planType;

    @ApiModelProperty(value = "计划状态")
    @TableField("plan_status")
    private Integer planStatus;

    @ApiModelProperty(value = "计划开始时刻")
    @TableField("plan_from")
    private String planFrom;

    @ApiModelProperty(value = "计划结束时刻")
    @TableField("plan_to")
    private String planTo;

    @ApiModelProperty(value = "计划描述")
    @TableField("plan_desc")
    private String description;

    @ApiModelProperty(value = "创建时间")
    @TableField("gmt_create")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField("gmt_modified")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "是否已删除，默认0，0未删除，1已删除")
    @TableField("is_deleted")
    @TableLogic
    private Integer isDeleted;

}
